home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / gnustuff / tos / progut~1 / stdwin.zoo / test / Make.conf < prev    next >
Encoding:
Text File  |  1989-10-17  |  1.5 KB  |  55 lines

  1. # Begin Make.conf
  2.  
  3. SRCS=        test0.c test1.c test2.c test3.c test4.c thand.c \
  4.         hello.c bits.c faced.c klok.c charset.c dklok.c vtdemo.c \
  5.         tetris.c testpollevent.c
  6. OBJS=        test0.o test1.o test2.o test3.o test4.o thand.o \
  7.         hello.o bits.o faced.o klok.o charset.o dklok.o vtdemo.o \
  8.         tetris.o testpollevent.c
  9.  
  10. XLIBES=        $(X11LIBS)
  11. ALIBES=        ../alfa/lib.a -ltermlib
  12. MLIBES=        $(MG1)/lib.a $(WINLIBS)
  13. SLIBES=        $(STUBS)/lib.a /usr/alib/libamunix.a
  14.  
  15. all:        allx alla # allm alls
  16. allx:        test0.X test1.X test2.X test3.X test4.X hello.X bits.X \
  17.         charset.X klok.X dklok.X faced.X vtdemo.X \
  18.         tetris.X testpollevent.X
  19. alla:        test0.A test1.A test2.A test3.A test4.A hello.A bits.A \
  20.         charset.A klok.A dklok.A faced.A vtdemo.A tetris.A
  21. allm:        test0.M test1.M test2.M test3.M test4.M hello.M bits.M \
  22.         charset.M klok.M dklok.M faced.M vtdemo.M tetris.M
  23. alls:        test0.S test1.S test2.S test3.S test4.S hello.S bits.S \
  24.         charset.S klok.S dklok.S faced.S vtdemo.S tetris.S
  25.  
  26. test0.X test1.X test2.X test3.X test4.X thand.X \
  27.     hello.X bits.X faced.X klok.X dklok.X vtdemo.X tetris.X: $(XLIBES)
  28.  
  29. test0.S test1.S test2.S test3.S test4.S thand.S \
  30.     hello.S bits.S faced.S klok.S dklok.S vtdemo.S tetris.S: $(SLIBES)
  31.  
  32. .SUFFIXES: .X .A .M .S
  33.  
  34. .o.X:
  35.         $(CC) $(LDFLAGS) $*.o $(XLIBES) -lm -o $*.X
  36.  
  37. .o.A:
  38.         $(CC) $(LDFLAGS) $*.o $(ALIBES) -lm -o $*.A
  39.  
  40. .o.M:
  41.         $(CC) $(LDFLAGS) $*.o $(MLIBES) -lm -o $*.M
  42.  
  43. .o.S:
  44.         $(CC) $(LDFLAGS) $*.o $(SLIBES) -lm -o $*.S
  45.  
  46. DESTBIN=    /userfs3/amoeba/bin
  47.  
  48. install::    klok.X
  49.         install -s -m 755 klok.X $(DESTBIN)/klok
  50.  
  51. tetris:        tetris.X
  52.         mv tetris.X tetris
  53.  
  54. # End Make.conf
  55.